//
//  HECartTabBarView.h
//  HealthFamily
//
//  Created by 吴欧 on 2020/10/27.
//  Copyright © 2020 honglutec. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, HECartTabBarActionType) {
    HECartTabBarActionTypeSettlement, // 结算
    HECartTabBarActionTypeDelete, // 删除
};

@protocol HECartTabBarViewDelegate <NSObject>

- (void)tabbarSelectAll:(BOOL)select;

- (void)tabbarDidSelectWithActionType:(HECartTabBarActionType)type;

@end

@interface HECartTabBarView : UIView

@property(nonatomic, weak) id <HECartTabBarViewDelegate> delegate;

@property(nonatomic, assign) HECartTabBarActionType actionType;

- (void)updateTabDataWithSelect:(BOOL)allSelect totalPrice:(CGFloat)totalPrice total:(NSInteger)total;

@end

NS_ASSUME_NONNULL_END
